<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>学生信息录入</title>
<link rel="stylesheet" href="/purpose-for-stu/css/jquery-ui-1.8.13.custom.css">
<link rel="stylesheet" type="text/css" href="/purpose-for-stu/css/base.css">
<script type="text/javascript" src="/purpose-for-stu/js/jquery/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="/purpose-for-stu/js/jquery/jquery-ui-1.8.13.custom.min.js"></script>
<script type="text/javascript" src="/purpose-for-stu/js/jquery/jquery.ui.datepicker.js"></script>
<style type="text/css">
		body,td,th {
			font-size: 14px;
		}
	</style>
<script type="text/javascript">
	$(function() {
		$("#datepicker").datepicker({
			changeMonth: true,
			changeYear: true
		});
	});
	//判定输入内容是否为空 
	function check(){
		if(document.stuform.stuId.value.trim()==""){
			alert("学号没有填写!");
			document.stuform.stuId.focus();
			return false;
		}
		if(document.stuform.stuName.value.trim()==""){
			alert("姓名没有填写!");
			document.stuform.stuId.focus();
			return false;
		}	
		if(document.stuform.birth.value.trim()==""){
			alert("出生日期没有填写!");
			document.stuform.stuId.focus();
			return false;
		}
	}
</script>
</head>
<body>
<div id="container">
	<div id="top">
		<!--Logo start -->
			<div id="logo">
			</div>
				<div id="info"> 
					<a href="../index.jsp">退出登录</a>
				</div>
		<!--logo end -->
    </div>
    <div id="content">
	    <div id="left">
			<%@ include file="../css/menu.jsp"%>
	    </div>
	 	<div id="maincontent">
	  	<p>&nbsp;</p>
			<form name="stuform" action="managerinputinfop.jsp" method="post" onSubmit="return check();"><table width="720"> 
			<tr><td width="400" align="right">学号：</td><td width="420" align="left"><input type="text" name="stuId" /><font color="red">*(带*项为必填项)</font></td></tr>
			<tr><td width="400" align="right">姓名：</td><td width="420" align="left"><input type="text" name="stuName" /><font color="red">*</font></td></tr>
			<tr><td width="400" align="right">出生日期：</td><td width="420" align="left"><input type="text" name="birth" id="datepicker" /><font color="red">*</font></td></tr>
			<tr><td width="400" align="right">联系电话：</td><td width="420" align="left"><input type="text" name="stuTele" /></td></tr>
			<tr><td width="400" align="right">QQ号码：</td><td width="420" align="left"><input type="text" name="stuQQ" /></td></tr>
			<tr><td width="400" align="right"></td><td width="420" align="left"><input type="submit" value="提 交" /><input type="reset" value="重 置" /></td></tr>
			</table></form>
		</div>
	</div>
	<div id="footer">@copyright</div>
</div>

<%-- <table border="0" width="1000" align="center">
<tr><td colspan="2" height="30"><img src="../images/logo.png"></td></tr>
<tr><td width="170"><%@ include file="../css/menu.jsp" %></td><td width="830">
</td></tr>
</table> --%>
</body>
</html>